function show(){
	//get news_id
	var newsId = getQueryString("news_id");
	if (newsId==null || newsId=="") {
		window.location.href="/edu/news/index.html";
	}else{
	//get news data
	getNewsInfo(newsId);
	//get left data
	/*====get teacher info====*/
	/*
	$.ajax( {
		url: "/edu/teacher/getTeacherInfo",
		type: "POST",
		data: {
			count: 3
		},
		dataType: "json",
		async: false,
		success: function(data) {
			if (data.status) {
				$.each(data.teacherInfo, function(i, item) {
					$("#t" + i).css("background", "url(" + item.photoPath + ")");
					$("#t" + i + " > span").innerHTML = item.name + "<br />" + item.edubg;
					$("#t" + i + " > a").attr("href", "/edu/teacher/teacherInfo.html?teacher_id=" + item.teacherId);
				});
			} else {

			}
		}
	});*/
	getTeacherList(3);
	}
}


function getNewsInfo(newsId){
	$.ajax( {
		url: "/edu/news/getNewsInfo",
		type: "POST",
		data: {
			news_id:newsId
		},
		dataType: "json",
		async: false,
		success: function(data) {
			if (data.status) {
					$("#newsTitle").html(data.title);
					$("#newsTime").html(data.create_time);
					$("#newsAuthor").html(data.author);
					$("#newsDesc").html(data.content);
				
			} else {

			}
		}
	});
}
